<extend name="Common:grid"/>
 <!-- 
 ------------------------------------------------------
菜单管理页面
 ------------------------------------------------------
 -->
<block name="extOptions">
$.extend(defaultJqGridOptions,{
	url:XML+"/menu.xml",
	datatype:"xml",
	mtype:"GET",
	colModel:[
		{name:"no",index:"no",width:40,align:"left",sortable:false,editable:true,editrules:{required:true,integer:true},formoptions:{elmsuffix:"&nbsp;*"}},
		{name:"name",index:"name",width:60,align:"left",sortable:false,editable:true,editrules:{required:true},formoptions:{elmsuffix:"&nbsp;*"}},
	    {name:"url",index:"url",width:60,align:"left",sortable:false,editable:true,formatter:nullToStr},
	    {name:"tip",index:"tip",width:120,align:"left",sortable:false,editable:true,edittype:"textarea",editoptions:{cols:20,rows:5},search:false},
	    {name:"power",index:"power",width:50,align:"center",sortable: false,editable:true,edittype:"select",
	    	formatter:"select",editoptions:{value:"false:否;true:是"},search:false},
	    {name:"level",index:"level",width:50,align:"center",sortable: false,editable:true,editrules:{required:true,integer:true},
	    	editoptions:{defaultValue:1},formoptions:{elmsuffix:"&nbsp;*"},search:false},
	    {name:"father",index:"father",width:50,align:"left",sortable: false,editable:true,editrules:{required:true,integer:true},
	    	editoptions:{defaultValue:"0"},formoptions:{elmsuffix:"&nbsp;*"},search:false},
	    {name:"isleaf",index:"isleaf",width:50,align:"center",sortable: false,editable:true,edittype:"select",
	    	formatter:"select",editoptions:{value:"true:是;false:否"},search:false},
	   	{name:"expand",index:"expand",width:50,align:"center",sortable: false,editable:true,edittype:"select",
		    formatter:"select",editoptions:{value:"false:否;true:是"},search:false}
	],
   	rowNum:0
});
</block>